From: Chong Yidong Date: Sat, 22 Jan 2011 20:15:24 +0000 (-0500) Subject: * vc/diff.el (diff-sentinel): Doc fix (Bug#7682). X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~324^2~5101 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=6f478c28a21265517b177c223dc43abcdc36b1dc;p=emacs.git * vc/diff.el (diff-sentinel): Doc fix (Bug#7682). --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 1cf423fe100..ab558ed1ff9 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,7 @@ +2011-01-22 Chong Yidong + + * vc/diff.el (diff-sentinel): Doc fix (Bug#7682). + 2011-01-22 Jari Aalto * play/landmark.el: Change `lm-' prefix to `landmark-' (Bug#7672). diff --git a/lisp/vc/diff.el b/lisp/vc/diff.el index 0a853c5d902..b29f9c10b18 100644 --- a/lisp/vc/diff.el +++ b/lisp/vc/diff.el @@ -60,7 +60,9 @@ (defun diff-sentinel (code &optional old-temp-file new-temp-file) "Code run when the diff process exits. CODE is the exit code of the process. It should be 0 only if no diffs -were found." +were found. +If optional args OLD-TEMP-FILE and/or NEW-TEMP-FILE are non-nil, +delete the temporary files so named." (if old-temp-file (delete-file old-temp-file)) (if new-temp-file (delete-file new-temp-file)) (save-excursion